package maosy.poi.util.test.beans

import maosy.poi.util.annotations.BooleanReplace
import maosy.poi.util.annotations.DateStyle
import maosy.poi.util.annotations.Sheet
import maosy.poi.util.annotations.Title
import java.io.Serializable
import java.math.BigDecimal
import java.util.*

@Sheet(name = "测试导出", needTitle = true)
class User(
    @Title(title = "员工ID")
    var id: Int? = null,
    @Title(title = "员工姓名")
    var name: String? = null,
    @Title(title = "员工性别")
    @BooleanReplace(trueValue = "男", falseValue = "女")
    var sex: Boolean? = null,
    @Title(title = "性别")
    var age: Int? = null,
    @Title(title = "工资")
    var money: BigDecimal? = null,
    @Title(title = "出生年月")
    @DateStyle(parent = "MM/dd/yy")
    var birthDay: Date? = null
) : Serializable